package com.wzh.live.service.impl;

import org.springframework.stereotype.Service;
import java.util.Map;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.wzh.common.utils.PageUtils;
import com.wzh.common.utils.Query;

import com.wzh.live.dao.LivrOrderDao;
import com.wzh.live.entity.LivrOrderEntity;
import com.wzh.live.service.LivrOrderService;


@Service("livrOrderService")
public class LivrOrderServiceImpl extends ServiceImpl<LivrOrderDao, LivrOrderEntity> implements LivrOrderService {

    @Override
    public PageUtils queryPage(Map<String, Object> params) {
        IPage<LivrOrderEntity> page = this.page(
                new Query<LivrOrderEntity>().getPage(params),
                new QueryWrapper<LivrOrderEntity>()
        );

        return new PageUtils(page);
    }

}